package com.lihua.newideas.pojo;

import java.util.Date;

public class UploadUser {
    private Integer id;
    /*
    * 用户名
    * */
    private String userName;
    /**
     * 图片名称
     */
    private String pictureName;
    /**
     * 图片路径
     */
    private String picturePath;
    /**
     * 略缩图
     */
    private String pictureSmallPath;
    /**
     * 图片类型
     */
    private String pictureType;
    /**
     * 上传时间
     */
    private Date pictureCreateDate;
    /**
     * 文件大小
     */
    private String pictureSize;
    /**
     * 后缀
     */
    private String pictureSuffix;
    /**
     * 尺寸
     */
    private String pictureWh;

    public UploadUser() {
    }

    public UploadUser(Integer id, String userName, String pictureName, String picturePath, String pictureSmallPath, String pictureType, Date pictureCreateDate, String pictureSize, String pictureSuffix, String pictureWh) {
        this.id = id;
        this.userName = userName;
        this.pictureName = pictureName;
        this.picturePath = picturePath;
        this.pictureSmallPath = pictureSmallPath;
        this.pictureType = pictureType;
        this.pictureCreateDate = pictureCreateDate;
        this.pictureSize = pictureSize;
        this.pictureSuffix = pictureSuffix;
        this.pictureWh = pictureWh;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPictureName() {
        return pictureName;
    }

    public void setPictureName(String pictureName) {
        this.pictureName = pictureName == null ? null : pictureName.trim();
    }

    public String getPicturePath() {
        return picturePath;
    }

    public void setPicturePath(String picturePath) {
        this.picturePath = picturePath == null ? null : picturePath.trim();
    }

    public String getPictureSmallPath() {
        return pictureSmallPath;
    }

    public void setPictureSmallPath(String pictureSmallPath) {
        this.pictureSmallPath = pictureSmallPath == null ? null : pictureSmallPath.trim();
    }

    public String getPictureType() {
        return pictureType;
    }

    public void setPictureType(String pictureType) {
        this.pictureType = pictureType == null ? null : pictureType.trim();
    }

    public Date getPictureCreateDate() {
        return pictureCreateDate;
    }

    public void setPictureCreateDate(Date pictureCreateDate) {
        this.pictureCreateDate = pictureCreateDate;
    }

    public String getPictureSize() {
        return pictureSize;
    }

    public void setPictureSize(String pictureSize) {
        this.pictureSize = pictureSize == null ? null : pictureSize.trim();
    }

    public String getPictureSuffix() {
        return pictureSuffix;
    }

    public void setPictureSuffix(String pictureSuffix) {
        this.pictureSuffix = pictureSuffix == null ? null : pictureSuffix.trim();
    }

    public String getPictureWh() {
        return pictureWh;
    }

    public void setPictureWh(String pictureWh) {
        this.pictureWh = pictureWh == null ? null : pictureWh.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "UploadUser{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", pictureName='" + pictureName + '\'' +
                ", picturePath='" + picturePath + '\'' +
                ", pictureSmallPath='" + pictureSmallPath + '\'' +
                ", pictureType='" + pictureType + '\'' +
                ", pictureCreateDate=" + pictureCreateDate +
                ", pictureSize='" + pictureSize + '\'' +
                ", pictureSuffix='" + pictureSuffix + '\'' +
                ", pictureWh='" + pictureWh + '\'' +
                '}';
    }
}